home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3887 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: draco.prima.ruhr.de!ehb
  2. Newsgroups: comp.sys.amiga.programmer
  3. Subject: Re: How adjust window borders?
  4. Distribution: world
  5. References:  <19960217.7D84090.A425@mojaveg.ridgecrest.ca.us>
  6. From: ehb@draco.prima.ruhr.de (Edwin H. Bielawski)
  7. Message-ID: <ehb.02st@draco.prima.ruhr.de>
  8. Date: Sun, 18 Feb 96 23:13:17 +0100
  9. Organization: private UUCP site Dortmund Scharnhorst (Germany), member of Prima e.V.
  10.  
  11. In article <19960217.7D84090.A425@mojaveg.ridgecrest.ca.us> mojaveg@ridgecrest.ca.us (Everett M. Greene) writes:
  12. >I wish to be able to directly control the size of the window borders
  13. >for a window which has no border gadgets or text.  The window opens
  14. >as desired but I would prefer to have all four borders a bit wider.
  15. >The implications in the RKM are that WA_InnerWidth and WA_InnerHeight
  16. >should have some effect on border widths, but trying these seems to
  17. >have no visible effect whatsoever.  Any ideas?
  18. >
  19. >What are InnerWidth and InnerHeight supposed to do?  The RKMs are
  20. >not very enlightening on this.  [I notice that when selecting these
  21. >from GadToolsBox, nothing get inserted into the code, an implication
  22. >that InnerWidth and InnerHeight do nothing.]
  23.  
  24. When you set your window dimensions with WA_InnerWidth and
  25. WA_InnerHeight, intuition adds the border size for you. In other
  26. words, you define the size of the inner area of the window.
  27. You can't mix WA_Width and WA_InnerWidth!
  28.  
  29. BTW: Why do you need wider borders?
  30.  
  31. The only legal way i know for this is to place gadgets in the
  32. border of the window. This gadgets could be visible with a function
  33. or invisible.
  34.  
  35.   <ehb
  36.  
  37. -- 
  38.              greetings from draco.prima.ruhr.de
  39.  
  40.                     Edwin H. Bielawski
  41.